﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KerriganBlog
{
    /// <summary>
    /// Summary description for ManageArticleHomeHandler1
    /// </summary>
    public class ManageArticleHomeHandler1 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
            context.Response.ContentType = "application/json";
            var ttt = context.Request.Form[0];
            //string theme = context.Request;
            //var test = themeManager.getTheme(theme);
            //
            
            //var testt = themeManager.getListTheme1(theme);
            //var testt = themeManager.getListTheme4(theme);
            var testt = "dsdsds";
            //var testt = themeManager.getListTheme3(theme);
            //var lol = "{d : }"+testt;
            //string dd = HttpContext.Current.Request.Form["theme"];
            var fffff = testt.toJSON();
            //context.Response.Write(testt[0].Libelle);
            context.Response.Write(fffff);


        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}